<!DOCTYPE html>
<html>
<head>
    <title>{$category.name} {$category.seo_title} {$site_info.site_name|default=''}</title>
    <meta name="keywords" content="{$category.seo_keywords},{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$category.seo_description},{$site_info.site_seo_description|default=''}">
    <include file="public@head"/>
    <hook name="before_head_end"/>
</head>
<body class="body-white">
<include file="public@nav"/>
<!--banner start-->
<div class="ui fluid container">
    <img src="__TMPL__/static/images/news_banner.jpg" style="width:100%;" alt="">
</div>
<!--banner end-->
<!--软件方案 start-->
<div class="ui fluid container" style="background: #FFFFFF;">
    <div class="ui container" style="text-align: center;padding:2rem 0;">
        <portal:allSubCategories categoryId="10" item="vo">
            <a href="{:cmf_url('portal/list/index',array('id'=>$vo['id']))}" class="ui <if condition="($category.id == $vo.id)"> orange </if> button">{$vo.name}</a>
        </portal:allSubCategories>
    </div>
    <div class="ui container">
        <div class="ui three column grid">
            <php>
                $where=[
                'post.create_time'=>['egt',0]
                ];
            </php>
            <portal:articles item="vo" where="$where" order="post.create_time DESC" page="10"
                             relation="categories"
                             categoryIds="$category.id"
                             returnVarName="articles_data">
            <div class="column case-list">
                <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$category['id']))}">
                    <img src="{:cmf_get_image_url($vo.more.thumbnail)}" alt="">
                    <p class="title">{$vo.post_title}</p>
                    <p>{$vo.post_excerpt}</p>
                </a>
            </div>
            </portal:articles>
        </div>
        <ul class="pagination">
            <page/>
        </ul>
    </div>
</div>
<!--软件方案 end-->

    <include file="public@footer"/>
</div>

<include file="public@scripts"/>
<hook name="before_body_end"/>
</body>
</html>